package com.hpch.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hpch.business.entity.Honor;
import com.hpch.business.param.HonorParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 荣誉资质Mapper
 *
 * @author Lly
 * @since 2025-03-06 11:39:01
 */
public interface HonorMapper extends BaseMapper<Honor> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<Honor>
     */
    List<Honor> selectPageRel(@Param("page") IPage<Honor> page,
                             @Param("param") HonorParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<Honor> selectListRel(@Param("param") HonorParam param);

}
